@CHARSET "UTF-8";
body {
    line-height: 24px;
    font-size: 14px;
    font-family: "Helvetica Neue,Helvetica,PingFang SC,微软雅黑,Tahoma,Arial,sans-serif";
}
.box, .box * {
    box-sizing: content-box;
}
.layer{
    position: fixed;
    _position: absolute;
}
.layer.box{
	border-radius: 2px;
	box-shadow: 1px 1px 50px rgba(0,0,0,.3);
	margin: 0;
	padding: 0;
	color: #333;
	font-family: 微软雅黑;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(0,0,0,.05);
	background-repeat: no-repeat;
}
#layer.layer{
	background-size: cover;
	background-color: #fff;
}
#layer.layer.box{
	z-index: 19891032;
	width: 600px;
	top: 8px;
	left: 499px;
	min-width: 500px;
	min-height: 420px;
	background-image: url("../images/chat/bg.jpg");
	display: block;
	height: 520px;
	overflow: visible;
}
.chat-title {
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 80px 0 20px;
    height: 42px;
    line-height: 42px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    background-color: #F8F8F8;
    border-radius: 2px 2px 0 0;
    
    height: 80px;
    border-bottom: none;
    background-color: rgba(245,245,245,.7);
}
.chat-content{
	position: relative;
	overflow: visible;
	background-position: 0 0;
}
.chat-list {
    display: none;
    position: absolute;
    z-index: 1000;
    top: -80px;
    width: 200px;
    height: 100%;
    background-color: #D9D9D9;
    overflow: hidden;
    font-size: 0;
}
.layer-chat-box{
	
}
.chat-show {
    display: block !important;
}
.layer-chat {
    display: none;
    position: relative;
    background-color: #fff;
    background-color: rgba(255,255,255,.9);
}
.layer-chat-title {
    position: absolute;
    top: -80px;
    height: 80px;
}
.layer-disabled, .layer-icon, .layer-unselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.layer-chat-other{
	position: relative;
	top: 15px;
	left: 15px;
	padding-left: 60px;
	cursor: default;
}
img {
    border: none;
    display: inline-block;
    vertical-align: middle;
}
.layer-chat-other img {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 100%;
}
.layer-chat-username {
    position: relative;
    top: 5px;
    font-size: 18px;
}
.layer-chat-other span {
    color: #444;
}
.layer-chat-status {
    margin-top: 6px;
    font-size: 14px;
    color: #999;
}
.layer-chat-main {
    height: 262px;
    padding: 15px 15px 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

.layer-chat-footer{
	border-top: 1px solid #F1F1F1;
}

.layer-chat-tool {
    position: relative;
    padding: 0 8px;
    height: 38px;
    line-height: 38px;
    font-size: 0;
}

.layer-icon {
    font-family: layer-icon !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.layer-chat-tool span {
    position: relative;
    margin: 0 10px;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    font-size: 24px;
    cursor: pointer;
}

button, input, optgroup, option, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    outline: 0;
}

.layer-tool-image input {
    position: absolute;
    font-size: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .01;
    filter: Alpha(opacity=1);
    cursor: pointer;
}

.layer-chat-tool .layer-tool-log {
    position: absolute;
    right: 5px;
    font-size: 14px;
}

.layer-chat-textarea {
    margin-left: 10px;
}

.layer-chat-textarea textarea {
    display: block;
    width: 100%;
    padding: 5px 0 0;
    height: 68px;
    line-height: 20px;
    border: none;
    overflow: auto;
    resize: none;
    background: 0 0;
}

.layer-chat-bottom {
    position: relative;
    height: 46px;
}

.layer-chat-send {
    position: absolute;
    right: 15px;
    top: 3px;
    height: 32px;
    line-height: 32px;
    font-size: 0;
    cursor: pointer;
}

.layer-chat-send span {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
    padding: 0 20px;
    background-color: #5FB878;
    color: #fff;
    border-radius: 3px;
}

.layer-chat-send .layer-send-btn {
    border-radius: 3px 0 0 3px;
}
.layer-chat-send span {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
    padding: 0 20px;
    background-color: #5FB878;
    color: #fff;
    border-radius: 3px;
}
.layer-chat-send .layer-send-set {
    position: relative;
    width: 30px;
    height: 32px;
    margin-left: 0;
    padding: 0;
    border-left: 1px solid #85C998;
    border-radius: 0 3px 3px 0;
}
.layer-edge, .layer-header, .layer-inline, .layer-main {
    position: relative;
}

.layer-btn, .layer-edge, .layer-inline, img {
    vertical-align: middle;
}
.layer-edge {
    display: inline-block;
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: dashed;
    border-color: transparent;
    overflow: hidden;
}
.layer cite, .layer em, .layer-chat cite, .layer-chat em {
    font-style: normal;
}
.layer-send-set .layer-edge {
    position: absolute;
    top: 14px;
    left: 9px;
    border-width: 6px;
    border-top-style: solid;
    border-top-color: #fff;
}

.layer-anim {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.layer-menu-box {
    display: none;
    position: absolute;
    z-index: 100;
    top: 24px;
    left: -31px;
    padding: 5px 0;
    width: 85px;
    border: 1px solid #E2E2E2;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 1px 1px 20px rgba(0,0,0,.1);
}

.layer-chat-send .layer-menu-box {
    left: auto;
    right: 0;
    top: 33px;
    width: 180px;
    padding: 10px 0;
}

li {
    list-style: none;
}

.layer-menu-box li {
    position: relative;
    line-height: 22px;
    padding-left: 30px;
    font-size: 12px;
}

.layer-chat-send .layer-menu-box li {
    padding-right: 15px;
    line-height: 28px;
}

.layer-menu-box li i {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
}

.layer-menu-box .layer-this i {
    display: block;
}
.layer-tool-log i {
    position: relative;
    top: 2px;
    margin-right: 5px;
    font-size: 20px;
    color: #999;
}
.layer-setwin {
    position: absolute;
    right: 15px;
    *right: 0;
    top: 15px;
    font-size: 0;
    line-height: initial;
}

a {
    color: #333;
    text-decoration: none;
}

.layer-box, .layer-box * {
    box-sizing: content-box;
}

.layer-btn a, .layer-dialog .layer-ico, .layer-setwin a {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
}

.layer-setwin a {
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    font-size: 12px;
    _overflow: hidden;
}

.layer-setwin .layer-min cite {
    position: absolute;
    width: 14px;
    height: 2px;
    left: 0;
    top: 50%;
    margin-top: -1px;
    background-color: #2E2D3C;
    cursor: pointer;
    _overflow: hidden;
    font-style: normal;
}

.layer-ico {
    background-image: url(../images/chat/icon.png);
    background-repeat: no-repeat;
}

.layer-setwin .layer-max {
    background-position: -32px -40px;
}

.layer-setwin .layer-close1 {
    background-position: 1px -40px;
    cursor: pointer;
}

.layer-resize {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 0;
    bottom: 0;
    cursor: se-resize;
}

@font-face {
 font-family:layer-icon;
 src:url(../layui/font/iconfont.eot?v=220);
 src:url(../layui/font/iconfont.eot?v=220#iefix) format('embedded-opentype'),url(../layui/font/iconfont.svg?v=220#iconfont) format('svg'),url(../layui/font/iconfont.woff?v=220) format('woff'),url(../layui/font/iconfont.ttf?v=220) format('truetype')
}

ul, menu, dir {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
    padding: 0px;
    margin: 0px;
}
.layer-chat-list {
    display: none;
    position: absolute;
    z-index: 1000;
    top: -80px;
    width: 200px;
    height: 100%;
    background-color: #D9D9D9;
    overflow: hidden;
    font-size: 0;
}

.layer-chat-list li, .layer-min .layer-content {
    position: relative;
    margin: 5px;
    padding: 5px 30px 5px 5px;
    line-height: 40px;
    cursor: pointer;
    border-radius: 3px;
}
.layer-chat-list li {
    white-space: nowrap;
}
.layer-chat-list li img, .layer-min .layer-content img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
}
.layer-chat-list li span, .layer-min .layer-content span {
    width: 100px;
    padding-left: 10px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.layer-chat-list li .layer-icon {
    display: none;
    position: absolute;
    right: 5px;
    top: 7px;
    color: #555;
    font-size: 22px;
}


.layer-chat-list li:hover {
    background-color: #E2E2E2;
}
.layer-chat-list li.layer-this {
    background-color: #F3F3F3;
}
.layer-chat-list li:hover .layer-icon {
    display: inline-block;
}
.layer-chat-list li .layer-icon:hover {
    color: #c00;
}

.layer-chat-list:hover {
    overflow-y: auto;
}


/* 聊天内容 */
.layer-chat-main ul li {
    position: relative;
    font-size: 0;
    margin-bottom: 10px;
    padding-left: 60px;
    min-height: 68px;
}
.layer-chat-main ul .layer-chat-mine {
    text-align: right;
    padding-left: 0;
    padding-right: 60px;
}

.layer-chat-text, .layer-chat-user {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    font-size: 14px;
}
.layer-chat-user {
    position: absolute;
    left: 3px;
}
.layer-chat-mine .layer-chat-user {
    left: auto;
    right: 3px;
}
.layer-chat-user img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
}
.layer-chat-user cite {
    position: absolute;
    left: 60px;
    top: -2px;
    width: 500px;
    line-height: 24px;
    font-size: 12px;
    white-space: nowrap;
    color: #999;
    text-align: left;
    font-style: normal;
}
.layer-chat-mine .layer-chat-user cite {
    left: auto;
    right: 60px;
    text-align: right;
}

.layer-chat-user cite i {
    padding-left: 15px;
    font-style: normal;
}
.layer-chat-mine .layer-chat-user cite i {
    padding-left: 0;
    padding-right: 15px;
}
.layer-chat-text {
    position: relative;
    line-height: 22px;
    margin-top: 25px;
    padding: 8px 15px;
    background-color: #e2e2e2;
    border-radius: 3px;
    color: #333;
    word-break: break-all;
    max-width: 462px\9;
}
.layer-chat-mine .layer-chat-text {
    margin-left: 0;
    text-align: left;
    background-color: #5FB878;
    color: #fff;
}

.layer-chat-text::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 13px;
    width: 0;
    height: 0;
    border-style: solid dashed dashed;
    border-color: #e2e2e2 transparent transparent;
        border-top-color: rgb(226, 226, 226);
    overflow: hidden;
    border-width: 10px;
}
.layer-chat-mine .layer-chat-text::after {
    left: auto;
    right: -10px;
    border-top-color: #5FB878;
}

.layer-chat-text img {
    max-width: 100%;
    vertical-align: middle;
}


/* 表情 */
.layer, .layer-shade {
    position: fixed;
    _position: absolute;
}
.layer-tips {
    background: 0 0;
    box-shadow: none;
    border: none;
}
body .layer-face {

    margin: 10px 0 0 -18px;
    border: none;
    background: 0 0;

}
.layer-tips .layer-content {
    position: relative;
    line-height: 22px;
    min-width: 12px;
    padding: 8px 15px;
    font-size: 12px;
    _float: left;
    border-radius: 2px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.2);
    background-color: #000;
    color: #fff;
}
body .layer-face .layer-content {
    padding: 0;
    background-color: #fff;
    color: #666;
    box-shadow: none;
}
.layer-clear {
    clear: both;
    *zoom: 1;
}
.layer-clear::after {
    content: '\20';
    clear: both;
    *zoom: 1;
    display: block;
    height: 0;
}
.layer-face ul {
    position: relative;
    width: 375px;
    padding: 10px;
    border: 1px solid #D9D9D9;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}
.layer-tab-content, .layer-face ul, .layer-tab {
    margin-bottom: 0;
}
.layer, .layer-shade {
    pointer-events: auto;
}
.layer-face ul li {
    cursor: pointer;
    float: left;
    border: 1px solid #e8e8e8;
    height: 22px;
    width: 26px;
    overflow: hidden;
    margin: -1px 0 0 -1px;
    padding: 4px 2px;
    text-align: center;
}

.layer-setwin {
    position: absolute;
    right: 15px;
    *right: 0;
    top: 15px;
    font-size: 0;
    line-height: initial;
}
.layer-face .layer-TipsG {
    display: none;
}
.layer-tips i.layer-TipsG {
    position: absolute;
    width: 0;
    height: 0;
    border-width: 8px;
    border-color: transparent;
    border-style: dashed;   
    *overflow: hidden;
}
.layer-tips i.layer-TipsB, .layer-tips i.layer-TipsT {
    left: 5px;
    border-right-style: solid;
    border-right-color: #000;
}
.layer-tips i.layer-TipsT {
    bottom: -8px;
}